package edu.sctu.renpingan.jsonpratice;

import java.io.IOException;

/**
 * Created by Administrator on 2015/6/23.
 */
public class JSonMain {
    public static void main(String[] args) throws IOException {

        GoodsInfo goodsInfo = new JSon().getInfo();


        System.out.println( goodsInfo.message);
        System.out.println( goodsInfo.count);
        System.out.println( goodsInfo.error);

        for (int i = 0; i < goodsInfo.list.size(); i++) {
            GoodsAppbean goodsInfo1 = goodsInfo.list.get(i);
            System.out.println( goodsInfo1.red_id);
            System.out.println( goodsInfo1.brand_id);
            System.out.println( goodsInfo1.category_id);
            System.out.println( goodsInfo1.goods_id);
            System.out.println( goodsInfo1.goods_price);
        }
    }
}
